package org.example.wax.domain;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

public class InventoryBody {

    @NotEmpty(message = "箱门号不能为空")
    private List<Integer> boxes;

    @NotBlank(message = "盘点事件不能为空")
    private String eventId;

    @NotNull(message = "盘点功率不能为空")
    private Integer power;

    @NotNull(message = "单个通道盘点时间不能为空")
    private Integer invMs;

    @NotNull(message = "单个通道休眠时间不能为空")
    private Integer sleepMs;

    @NotNull(message = "循环次数不能为空")
    private Integer times;

    private Integer maxPower;

    private Integer maxPowerTimes;

    public List<Integer> getBoxes() {
        return boxes;
    }

    public void setBoxes(List<Integer> boxes) {
        this.boxes = boxes;
    }

    public String getEventId() {
        return eventId;
    }

    public void setEventId(String eventId) {
        this.eventId = eventId;
    }

    public Integer getPower() {
        return power;
    }

    public void setPower(Integer power) {
        this.power = power;
    }

    public Integer getInvMs() {
        return invMs;
    }

    public void setInvMs(Integer invMs) {
        this.invMs = invMs;
    }

    public Integer getSleepMs() {
        return sleepMs;
    }

    public void setSleepMs(Integer sleepMs) {
        this.sleepMs = sleepMs;
    }

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }

    public Integer getMaxPower() {
        return maxPower;
    }

    public void setMaxPower(Integer maxPower) {
        this.maxPower = maxPower;
    }

    public Integer getMaxPowerTimes() {
        return maxPowerTimes;
    }

    public void setMaxPowerTimes(Integer maxPowerTimes) {
        this.maxPowerTimes = maxPowerTimes;
    }
}
